package com.example.prjbackend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("department")
public class Department {
    /*@TableId(type = IdType.AUTO)  // 主键自增*/
    @TableId("dept_id")
    private Long dept_id;
    @TableField("dept_name")
    private String dept_name;
    @TableField("dept_desc")
    private String dept_desc;
    @TableField("create_time")
    private String create_time;
    @TableField("update_time")
    private String update_time;
}
